FROM golang:latest

MAINTAINER "master_sxj"

WORKDIR $GOPATH/src/project
ADD . $GOPATH/src/project
RUN go build -o main .

EXPOSE 8080

ENTRYPOINT ["./main"]